import React from "react";

export default function Logic_chartYaxis (props){

    const prop = Object.assign({},props);

    const yAxis = prop.yAxis;

    return (
            <div className="Yyd-chart-yAxis">
                <ul className="Yyd-chart-yAxis-wrapper">
                    {
                        yAxis.map((item,index)=>{
                            if(item !== 0){
                                return <li key={index}>
                                    {item}
                                </li>
                            }
                        })
                    }
                </ul>
            </div>
    )
}